#!/bin/bash
i=0
while read LINE ; do
#INT R_bytes R_packets R_errs R_drop R_fifo R_frame R_compressed R_multicast T_bytes T_packets T_errs T_drop T_fifo T_colls T_carrier T_compressedi ; do
#echo $R_bytes $T_bytes
#[ "$INT" = "lo:" ] || 
#(("R_bytes"+"T_bytes")) || continue 
#[ ((++i)) -lt 3 ] && continue
#echo ${INT%:} $R_bytes $T_bytes

[[ "$LINE" =~ [a-z0-9]*: ]] && [[ "$LINE" != lo:* ]] && echo ${LINE//:*}

done < /proc/net/dev 
